package org.spring.springboot.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class User {

   
    private int id;
 
    private String userName;
    
    private String email;
    
    private String password;
    
    private String telphone;

    @JSONField (format="yyyy-MM-dd HH:mm:ss")  
    private Date createDate;

    @JSONField (format="yyyy-MM-dd HH:mm:ss")  
    private Date lastModify;

    @JSONField (format="yyyy-MM-dd HH:mm:ss")  
    private Date invalidDate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getLastModify() {
		return lastModify;
	}

	public void setLastModify(Date lastModify) {
		this.lastModify = lastModify;
	}

	public Date getInvalidDate() {
		return invalidDate;
	}

	public void setInvalidDate(Date invalidDate) {
		this.invalidDate = invalidDate;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
    
    


}
